Fixed Makefile.

Fixes #2.
Fixes #7.
Fixes #8.