Bugfix for Macs.