Fix OSX ifdef.