Fix wrong ifdef that disabled client side detection.