added cmake build directory
preliminary cmake support. linking still broken.