osx: fix warning/header file