Minor refactorings in the TUnit internal libs to better support the Cygwin environment.