Revert "Fix build script"

This reverts commit 0723a4a337b440f185b186e042089c3c371802be.