fixes for jenkins unix in build.xml and seperate c file
merged changes in build.xml