Fixed Compatibility Issue With Composer/Non-Composer Projects

...omposer projects.