Fixed the makefiles (added the explicit output switch -o)