Fixes for the Online Monitor

- fixes compilation on GCC 4.7 (Linux)
- fixes compilation on Windows (addressing issue eudaq/eudaq#17); however, onlinemon still crashes on startup, this needs to be investigated with a debugger