Fix running tests with 'setup.py test'

Ignore the build directory, since it contains a set of tests that are not supposed to be run.