Remove invalid tokens from build file.