Add option --build-tests to enable building the tests