* fix Windows paths * fix remaining paths issues * clean up multiple use of Dir() * fix headers in generated files