Cygwin don't like this function declaration.