Build resources into binary.

Removes hard-coded paths and links a generated data library to the
executable instead.