fix compiler level to 1.7+