Revert "slimed down build script"

This reverts commit 9328ac5c1fe23c4ccc260d6d51e152acd9859f7a.