Fix rubylibdir support in ResourceLocator.h