fix a bug in bootstrap, but also lose the flexibility of maakefile