fix for use with rvm