Add OSX compilation flag