lib: update Makefile to build librand.a