Added macro to fix compilation on Linux