Move _WCL_LAST macro into input independent code file.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>