Fix CMAKE_PREFIX_PATH bug in Makefile