fix for issue #707 (numpy global installs on OSX)

fix for issue #707 
tmp dirs on OSX can be symlinks, so need to account for that.