Updates to resolve issues after rebase from origin master for MinGW. Added a few additional exprts and template library dependencies for GCC 4.8.1.