Update for laravel 4.2.*

Please apply this patch so that users using 4.2.* can install. Currently it gives error when trying to install on 4.2.*