fix BUILD.md instructions and CMakeLists so QT_CMAKE_PREFIX_PATH can be passed