fix makefile and update pkgs