fix build on linux

missing ifdef in the previous commit made the build fail