travis: fix make osx build
This variable was removed in commit 087af992 "travis: remove unused linux code path" because it looked like it was only used by the Linux build. Turns out I was wrong, so let's restore it.
I don't quite understand why, but I tested it and this fixes the build