added support for multile libc variants