Fix build.pl