make function header private in osx framework target
skip install for osx framework