The fact it blindly assumed it would always work makes me sad :( So this is just ducktape
Keeping them in base_units means that we can't introduce any dependence on these functions to anything that needs to compile without one of the unit defines (EESCHEMA, PCBNEW, etc)