Fixes compilation issues on Linux

Fixes compilation issues on Linux