Made main.cpp non-windows specific