Fix for Laravel 4.1

Allow this package to work in Laravel 4.1.