Workaround for a VS2014 compiler bug.