Improvements for building rust in BeagleBone