Linux: Use res/ resource path if it exists.

Also print out which resource path is being used on all platforms,
since this has bitten me a bunch of times.
copypasta from the __APPLE__ branch