cmake: simplify symbol availability checks (#1003)

1 file changed