Glibc Linux compilation fix

This should fix compilation issues with Glibc on Linux.