Fixed makefile to create library with sorts