Fixed OS Bug

Fixed a bug which causes a Lua error on unix systems (popen not
supported)