Setup 32bit builds and improved pre building step for ext libs