fix relative pathing issue with newer rubies