Fix when using Composer autoloader

- hard require changed to require_once