Adjusting build procedure to jenkins build.