Add universal build option to flac

This patch allows FLAC to be built with --universal. This commit is updated to reflect suggested fixes and comments in an earlier pull request.