Directory for produced libraries is created in Makefile

Before the libraries could not be created because the library lib/ that was supposed to host them was not created by default.