Fixes undefined wp_is_mobile() error for sites not using Jetpack.