Correction of "update_terminal_cwd" error on Mac OS X S(Mountain) Lion systems"

As an answer to Issue 92, here is a tiny modification to _lp_set_prompt in order to get rid of the "update_terminal_cwd" error on mountain lion systems when executing a command in the shell