Fixed compile-errors on Linux.