Temporary fixes for compile errors and warnings on Linux