build_env: update build script to include cleaning option
Makefile: add optimization flags