Added ifndef for windows

Added ifndef around mkHsFile calls so it could compile on windows.