Modify the makefiles

To make the correct executable files