Corrected invalid values assigned to enum homun_type variables

- Fixes a warning in clang-5.0.0 (and a potentially incorrect/undefined
  behavior of the related code)

Signed-off-by: Haru <haru@dotalux.com>
Added Makefile.in change detection (and auto-rebuild) capabilities

- If a Makefile.in is changed, ./config.status (or ./configure in case
  it's not available) will be automatically run to update the Makefiles.
- Special thanks to Yommy for the idea.

Signed-off-by: Haru <haru@dotalux.com>