fix for missing lib on jdk>1.4