fix maven bug with incorrect flex version