fix tr1/memory compile issue on OS X 10.9 for makefiles

For explanation, see
https://github.com/openframeworks/openFrameworks/commit/4b669b86c635257af6a764772d0d46df37677244
Merge pull request #2879 from jedahan/master

fix tr1/memory compile issue on OS X 10.9 for makefiles