fix variable name OS_X -> OSX
Merge pull request #1 from duthils/build-osx

fix variable name OS_X -> OSX