OS X build fix