this should be pretty straight forward. update test to get built from cmake. update build.rs to auto configure compiler.