Make the finders find debug and optimized correctly.