Add failonerror on build scripts