fixed composer conditional behavior on vagrant environment