Use old-style ternary for PHP 5.2
Preserve path when sudoing
Set PHPBIN to correct version