[PATCH v2 0/2] Fixes for building with uClibc-based toolchain