fix issue #60 :prebuild configure should store flags and pass to model configures that use the prebuild