override build script to cmake