Allow overriding compat version using -Dcompat-version