CMAKE_BUILD_DIR is now BUILD_DIR