deal with nolib option, no-default-lib declaration