Fixed setting 'exec-path based on shell path not working in Emacs 24.4