[posix] fix build daemon mode (#5062)
[posix] fix build daemon mode (#5062)


jwhui/openthread,openthread/openthread,srickardti/openthread,chshu/openthread,abtink/openthread,srickardti/openthread,abtink/openthread,openthread/openthread,librasungirl/openthread,lanyuwen/openthread,lanyuwen/openthread,lanyuwen/openthread,bukepo/openthread,openthread/openthread,chshu/openthread,chshu/openthread,abtink/openthread,lanyuwen/openthread,srickardti/openthread,librasungirl/openthread,jwhui/openthread,jwhui/openthread,lanyuwen/openthread,chshu/openthread,abtink/openthread,bukepo/openthread,librasungirl/openthread,openthread/openthread,librasungirl/openthread,lanyuwen/openthread,chshu/openthread,bukepo/openthread,bukepo/openthread,srickardti/openthread,jwhui/openthread,chshu/openthread