Update version, fix build errors under linux