Fixed linking with realtime library.