simplify some linking instructions