Make COMMON_LIBRARY_TYPE a cache property