bash scripts for compatibility with eap6
fixing compiler target version