update vfs system and fix cmake compilation

Change-Id: I46ee075644dcac62a6a9f8ed55b4b78b7aef3be1