Fix clean targets for platform-specific logging.