made static linking require define 'allstatic'