Yes, I'm not even getting the right hash160 of the segwit program (according to the book example) but it seems that I'm following the right process (the lib author hadn't seen anything wrong with my code).
The process I'm following:
1) Create segwit program with the pubkeyhash and the version number provided in the book:
OP_0 0x14 0xab68025513c3dbd2f7b92a94e0581f5d50f654e7
2) Getting the hash160 of 1) (not matching from here below):
3e0547268b3b19288b3adef9719ec8659f4b2b0b
3) Embedding 2) in a p2sh script:
OP_HASH160 0x14 0x3e0547268b3b19288b3adef9719ec8659f4b2b0b OP_EQUAL
4) Obtaining the address from 3):
37Lx99uaGn5avKBxiW26HjedQE3LrDCZru
Using bcoin lib.