Fix issue 1 on OSX.