build.rb: fix for building the Max implementation