Fixes to build agains uClibc