Add explicit instantiations
Fix some gpmsa compiler errors
Merge pull request #168 from dmcdougall/fix-gpmsa-compile-errors

Fix gpmsa compile errors