Removed all hacky OS specific code
Laravel 5 support