Add conditional compilation for Linux