Updated Core's cmake file