Change build script lib order