able to build statically if requested, added last _ for MinGW