Auto adjust $gr_apache_24 and $gr_web_cors_allow_from_all based on $::osfamily

By bad. I thought it wasn't available before apache 2.4. 
I'll revert those changes.