configure: fix all except one warning produced by shellcheck

thanks to @bska for pointing this tool out!
Merge pull request #32 from bska/032_cmake

Synchronise build system with opm-core
Added opm-material dependency to build instructions
Misprint
Merge pull request #34 from alfbr/master

Added opm-material dependency to build instructions