GCC: fix building and packaging.