Fix ONOS-5927 - Fix top level POM generation on Linux

Change-Id: I1f0f4c4541a087dec3268bf88d2759371d6ea6b9
diff --git a/bucklets/onos.bucklet b/bucklets/onos.bucklet
index f141e85..38c3dd5 100644
--- a/bucklets/onos.bucklet
+++ b/bucklets/onos.bucklet
@@ -335,7 +335,7 @@
     visibility = [ 'PUBLIC' ],
     ):
 
-    cmd = 'grep -v \<module\> ' + src + ' | sed "s/\<modules\>/\<\modules\>\<module\>lib\<\/module\>/" >$OUT'
+    cmd = 'grep -v \<module\> ' + src + ' | sed "s#<modules>#<modules><module>lib</module>#" >$OUT'
 
     genrule(
         name = name,