Automatically detect the build directory (for the unit tests) to successfully run the unit in more advanced setups.