some linker flag chicanery