Fix out-of-source build. Add makefile wrapper for cmake