enable LinkDynLib in compilier phase