Makefile.local: add dependency between test and ts-build-so targets
The swh_sql.so file must be built prior running the tests.