downgrade java compliance to 1.7