removed WOOCOMMERCE_VERSION definitions in favor to $woocommerce->version
fixed the plugin initialization