Can't debug mingw compiled program