configure: detect libdl and librt

Signed-off-by: Leonid Bobrov <mazocomp@disroot.org>
1 job for dlrt in 1 minute and 33 seconds
latest
Status Name Job ID Coverage
  Build
passed build-native #219138

00:01:33