Fixing apache2 check