Fixed makefile to handle diststring in spec files