Limit libbsd support to glibc. Remove wrong python variable. Signed-off-by: Rosen Penev <rosenp@gmail.com>