Check if FORUM_VERSION is defined before using it

Signed-off-by: emanuele <emanuele45@gmail.com>