Bug fix: Made add_to_path () POSIX compliant.