build: wrap -Bsymbolic into enable_optimizations.
build: compile with optimization flags.