Fixed Maven and Ant paths to work in a typical Linux system out of the box.

This is a branch with only the Ant and Maven path fixes.