improved extern & static constant recognition