Changed preprocessor for linux platform detection.

__linux__ is a more reliable define to detect the linux platform