Add fallback for missing fork function, fixes #24