Minor fix on relationship validation method.

Added the missing directive CONFIG+=console on main-cli.pro (issue #227)