Add flex build script and source tarball