Snow Leopard: Fix bug in create header