Get rid of trailing whitespace in the platform makefiles