Fixed an issue which a library module could be built even it's not in the active...