Clean up configure for Mac