COR-337: Fixed issues met with Oracle Java 1.7.0_72 on Ubuntu 12.04