Change ordering of require so that this works with ruby < 1.9