fix no-rpath test