Add cmake building support and VS2013 support