add support for POSIX defined confstr() Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>