OK, it was not a issue with the library, nor the compiler. I followed @user4581301's advice and moved it to the compiled source (under the namespace instead of class) and it compiled fine. IDK what it was actually doing, so not much of a "answer", but if you run into a similar problem try putting it in the .cpp instead of the .hpp