Declare constant related to port config
Fix build error