Bugfix for http_build_query