trivial fixes: make #warning compile on win32, add missing semicolon