portable paths:

This allows the scripts to be run on freebsd - and maintains
compatibility with most linux distros.