Change order of path buildup.

This way the user specified paths take precedence over the system default paths, which is very useful for example when having multiple ruby versions installed.