Bug 998 and 999

https://buildbot.suricata-ids.org/builders/inliniac/builds/23

https://redmine.openinfosecfoundation.org/issues/998
https://redmine.openinfosecfoundation.org/issues/999