[libblockdev 1/2] Make Makefile mostly automatic.