Besides mounting the speed sensor on the rear triangle as close to the handlebars as you can (maybe on the seatstays?), some (like Polar's) can be set to a higher transmit power - it might just be enough. You could mount the unit on the top tube, though you'd probably have trouble reading it - not as big an issue IMHO for using it on a trainer.