Fix for build process  (.net 4.5) warnings.