commit: Allow compilation under Cygwin 1.7