Made minor windows portability fix