Fixed error on Mac OS X..