buildfile now uses popen on unix like systems