Android build has issues with these defines, this will allow the build to succeed if it doesn't need to build the tests.
"Hooks" is really the best name for the module that will contain the publicly exposed hooks. So lets rename the current "hooks" module (that hook external dependencies, for reentrancy testing) to "test_hooks".