fixed compilation errors mentioned in: https://github.com/Na2l/spark-websocket-server/issues/1