More deep symbols tests and fix build type definition algorithm.