cmake: Use _REQUIRED_LIBRARIES for system libs