For basements, you should use a compound that contains Portland cement rather than gypsum because it won’t be affected by moisture. Before you pour, give the existing slab a thorough cleaning with a degreaser to remove any contaminants that might interfere with achieving a strong bond.