fix check if apache2 is installed