Supporting ant/eclipse library projects

fixes #20