Fix OSX compilation #1.