Added a patch to fix compilation under uClibc-ng. Reorganized Makefile for consistency between packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>