silence compiler warnings on OS X