Make the path separator selection runtime dynamic as well.
Make the path separator selection runtime dynamic as well.

Also tweak the heuristic used to detect whether we're in a
POSIX shell vs DOS shell to detect non-bash shells as well.

prasincs/pcp,tjanez/pcp,mbaldessari/pcp,adfernandes/pcp,ryandoyle/pcp_original,andyvand/cygpcpfans,edwardt/pcp,mbaldessari/pcp,andyvand/cygpcpfans,edwardt/pcp,prasincs/pcp,andyvand/cygpcpfans,mbaldessari/pcp,edwardt/pcp,andyvand/cygpcpfans,prasincs/pcp,adfernandes/pcp,adfernandes/pcp,mbaldessari/pcp,wuliming/pcp,prasincs/pcp,adfernandes/pcp,ryandoyle/pcp_original,prasincs/pcp,edwardt/pcp,wuliming/pcp,aeg-aeg/pcpfans,tjanez/pcp,adfernandes/pcp,aeg-aeg/pcpfans,tjanez/pcp,ryandoyle/pcp_original,tjanez/pcp,edwardt/pcp,wuliming/pcp,edwardt/pcp,ryandoyle/pcp_original,prasincs/pcp,mbaldessari/pcp,wuliming/pcp,tjanez/pcp,aeg-aeg/pcpfans,ryandoyle/pcp_original,adfernandes/pcp,prasincs/pcp,mbaldessari/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,aeg-aeg/pcpfans,edwardt/pcp,tjanez/pcp,prasincs/pcp,ryandoyle/pcp_original,aeg-aeg/pcpfans,adfernandes/pcp,aeg-aeg/pcpfans,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans,tjanez/pcp,andyvand/cygpcpfans,andyvand/cygpcpfans,ryandoyle/pcp_original,edwardt/pcp,wuliming/pcp,adfernandes/pcp,tjanez/pcp,wuliming/pcp,aeg-aeg/pcpfans,andyvand/cygpcpfans