Fixed return values required by vcc on windows