Add vendor dir fallback if ABSPATH is not defined