Fix composer file to remove the second "require", causing issues with install
Update compiler implementation per oncletom's comments