Removed glibc dependency

Also updated example.
Cosmetic changes
Dirty commit