Add osx to makefile options.
From Vaibhav Bhembre via github