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

For explanation, see https://github.com/openframeworks/openFrameworks/commit/4b669b86c635257af6a764772d0d46d