Fixed CMake build using common_library()