fix mingw compilation
leave debug postfix for MSVC
create qjson_export header using cmake