custom modifications: optional building of tests, performance tools, and static library; by default it's off