Fixed building archives with new Makefile