fixed -all build bug