Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Submitted by: mlelstv@ Reviewed by: kamil@