Use version prefix property for compatibility-v7

Although properties were declared in the main pom.xml, they were not used. Added the prefix so that the properties are actually used.