Declare alex and happy as build-tools.

Closes #986.