I have dual boot Windows XP and Kubuntu Linux.
EPB compile fine on both.
Now about dispatchDebugCommand(). This function will be compiled and called only if the debug flags in to the compiler are set. This function provide additional debug commands for the console. So maybe you didn't removed or commented out all the lines that start with #IFDEF _DEBUG and #ENDIF. But as Whislter says is better to remove the debug flags from the compiler and in this way this lines will be ignored. But I don't have idea how DEV C++ work.
dispatchDebugCommand() is defined in command_debug.cpp. This file will be compiled only if you compile with debug flags. It is called in command.cpp line 144. Good luck.