add inputc flags for osx