Refined build script.
New build, upto commit 88546a364a8bd9f50e51dd5a2aa8714200ca2542