Split libref.s into multiple files to prevent inclusion of unnecessary code.