Fix osx hsf case errors