Updated the swftools build step to support 14.04 (and better support 12.04).
Also added an apt-get update in the beginning so that the package index is up to date.