Fixed all compilations errors in BlackHole.