make sure genfileflag depends on the linklib directory being generated first.