Fix backward compatibility on java 6