Remove the ugly brkfix library, and use goma's functions instead