Making module compatible with superbuild.

Signed-off-by: Tamas Ungi <ungi@cs.queensu.ca>