Fix g_build_filename() usage