Attempt to fix building on Mac OS X 10.5