Normalize regex
Bootstrap: pass lib flags