Fix compatibility issues with OS X