Tentative fix 2 for windows/refcard-tests build. Pom cleanup.