Fix build without linker
Add needed convert functions