Fixed Makefile path to /tmp causing build failure - Issue #22812

Fix for https://github.com/mxcl/homebrew/issues/22812