fix up ld compilation .... just a little bit!