fixed Makefile bug that breaks compilation on MacOS Mavericks