Linux: Fixing issue where last path in PATH isn't used.
Merge pull request #746 from jdtaylor/master

Linux: Fixing issue where last path in PATH isn't used.