Add a configure test for the visibility hidden attribute