Fixed DirectConnection plugin to not compile if framework is missing