removing dependency on unix to (start to) address #240