Added debug flag for linux compiler

Debug mode should now produce proper debug symbols for gdb