Remove trailing spaces in smart-build.pl