workaround for absolute paths / FFI::Raw on Cygwin