Selecting compilation database in the build directory if created there