Fixes OSX warning