Fixed exit error by recompiling everything with Visual Studio.