Add link library flag for rmrf