adjust pom to meet architecture and os requirements.