Allow package to be used with laravel 4.1+