fixed new if statement logic in build.rb