ruby: fix board compilation