removal of warnings under linux gcc and update buildagent script