Update the YAP adapter file to workaround the broken `autoload` flag in versions older that 6.3.4