build: create _objs target for each library