Small changes for VS2013 and Mono.