osx: fix remaining compiler warnings