Fixed typo in Program build(). len() -> as_buf().