Add the fai build method based on Sam Vilain's patch.