Fixed a build issue on Windows an cleaned-up/improved POMs.