complete fix for compiling mastercoin-qt on linux architectures.