Merge pull request #530 from compnerd/public-flags

build: make some linkage flags public