Fix static_dynamic for intel compiler

It turns out that -Bstatic fails to find a static library in one case and
causes compilation to fail.  The correct combination to ensure complete and
static compilation is -static-intel -static-libgcc -static.  These tests should
now pass (phew!).
Merge pull request #734 from lydia-duncan/fixStaticDynamicTest

Fix static_dynamic for intel compiler

It turns out that -Bstatic fails to find a static library in one case and
causes compilation to fail. The correct combination to ensure complete and
static compilation is -static-intel -static-libgcc -static. These tests should
now pass (phew!).