Cheap fix for MacOS X