packaging: add 'fcommon' to the build flags