OSX 10.8 compatibility