All the required static libs should be available in the SDK / X toolchain, but I still got linking error. Need to find the right combination of flags.