librt and libm are not needed any more.
Thanks to Raúl Sánchez Siles for the heads up.