utility: fix non-existent variable types in osx code