Well the method with the code you give was compiled without any problem in my image (Pharo #30851 with FFI loaded with configuration browser as explained in the other thread).
Perhaps this is related to your bug in the other thread where you were (probably) missing a package ?