Replaced the APPPATH constant with PATH_THIRD

Will cater for installs where the third party folder has been moved