Non 0 return when build error occurs