windows port

dynamic linking to MSVCRT to avoid FLS index allocation error and crash; "||" instead of "or" in generated C code