Give a more helpful error message when no main is found. Fixes #89, #189.
Properly install includes for base. Fixes #126.