Fix handling of compile static property.