Re-enable collapse(2) in amaze

See bug #9456. If it fails again, we can either revert this commit or
try to find out why/for what compiler it fails to build and work around
that.