add the namespace 'libj'
fix windows build errors