Fixed build of samples. Removed line to disable MinSizeRel build type in CMake script as it seems to have no effect any longer. Removed unused function to get AnimationState by C string of animation name.