add ifndef LINUX define to main.cpp to prevent crashing unter bumblebee/optirun
change ifndef to BUMBLEBEE which has to be manually set now in cmake command to disable the commands that cause the program to crash under optirun.