Win32 fixes: define LLONG properly for VC++. stop compiler complaining about signed/unsigned mismatch in apps/engine.c