Fixed all errors and warnings with MSVC 2015