Remove sed step from build.
Allow flag string to be undefined.