Add -lrt to link path in AG