Clarify error message for external functions misuse in model block.

Thanks to Johannes Pfeifer.
Better error message when block option when a variable does not appear at current period.
make install, #576
make install fixes