updated example makefile to use lib instead of build dir