makefile.in: fix libecl flags expansion

Closes #398. Patch provided by Mark Cox.
Status Job ID Name Coverage
  External
passed continuous-integration/appveyor/branch