Update helpers.cpp

now also checks for #define linux