On the prime number theorem for the Selberg class