Remove trailing whitespaces in source, std=??? for unix compilation