allow this library to be used on 1.6 JVMs