Fixed resumable functions causing stack overflow, and allowed release implementation dll to be compiled with visual c++ 2013