Fix cross-platform Maven