patscc fix

The libfloats stuff is incomplete - feel free to delete for now, but hopefully I will add more soon.