Jindroush's chkexe source, patched to build under Linux