do not use JSON_DLL_BUILD define on gcc