adding rt as dependent library on unix and not apple