Fix a typo in disable rpaths

Closes #5219