This should not be happening as the library is written in pure C. Also need to investigate whether this is a platform or a general bug.