closes #161 compiler warning on win