Use a different method of checking if player API is installed. Should fix #940