fix BEAGLE vs beagle-lib naming + cleanup