Add support for RVM >= 1.25 wrapper scripts.