Fixed issue with iswindows() function call