Fixed defines for Linux compilation