Fixed binding generation and VS2013 compile