implemented conditional compiling flags on dependent modules