Revert "build script: rewrite to add more options"

This reverts commit c4f75e8847cfe368efdf5700f05d0d927bb4fce8.