moved bool_to_gvalue out of IPV6 ifdef
Merge pull request #24 from danfruehauf/no_ipv6_fix

moved bool_to_gvalue out of IPV6 ifdef