Remove configure checks for unused headers.