fixed calibration issues as suggested by marcosin
http://www.seeedstudio.com/forum/viewtopic.php?f=26&p=16969#p16969

fixed building scripts and VERSION1/2 switching