Fix buffer overflow in compiler suite (#740)

* Fix buffer overflow in compiler suite

* Use ARRAY_SIZE to determine number of source lines

* Add static assertion for number of lines
1 file changed