suppress some compiler warnings on mac