Fixed build for jenkins