small changes in building scripts