Fixed compile of tests on OS X
Exclude generated config.h