Added CMake option for glfwInit chdir on OS X.