Fix to support dpx extension build.