Warn and unset static if set

Conflicts:
	configure