[MD] Fix build failures on fast hardware