Rearranged Makefile for consistency between packages. Added -Dlib_only to save some time. Signed-off-by: Rosen Penev <rosenp@gmail.com>