Add BUILD_PROFILER to build optins, and change as dscharrer recommended