AbstractCompileMojo: remove Windows-specific logic

Suggested by Montoya Edu. See:
https://github.com/maven-nar/maven-nar-plugin/commit/6dfc3a69a45ec9e16a0e278165fe65866e6cfc7a#commitcomment-3570999