fixed makefiles

'uniq' macro has been deleted ('sort' does same thing)