Bugfix for OS X.