Fix DLL import of formatting functions