Fixes beta 5 build script.