Fixed CMake build using common_library()

You're right it is! (only the second one, not the first one). FYI, I based myself on Lunchbox which also still has it.