Closes #399: Fix compiler error on VS2010.