Attempt building emulator in test suite.

Fixed #22.
Test building with all optional compiler flags.

Fixed #21.