made ishapes-typelib jdk7 compatible