vanilla nlnscg
fixed breakage by sofapython
compilation on debian 7