For some reason debug information is nowhere to be found in output executables or at the very least GDB cannot find it. Need to fix this on Linux.