Improved scons project. Improved byte aliasing code. Fixed gcc warnings