add rt library to link line