Use a test for RbConfig RPATHFLAG

Fixes #380