Updated buildlister

Complied with JDK 1.6
Fixed some bugs