fix build and do not blow up when there is more than 1 file in lib...

@gregorym  So... apparently someone made a pull that failed on travis... let's fix that :D