Add building an egg support

It seems this is the best way to do this.