Removes warnings on OS X