These functions created for use with MemGPT are designed with the Windows operating system in mind. Mostly the os dependency is file-system related and they can be edited to work on linux and Mac ...