Added server vars to fix build. And updated composer lock file.

Fixes issue #339. Unit tests pass again. Build should be restored.