bitflags! derives Copy for you now, so remove our derivings.
Fix the build.
added msync, madvise, and requisite constants for macos and linux