Fix travis build problem by replacing xasprintf with g_strconcat