Properly round up page count in unsafe map mode. See #35.
[nre] Changes for reference counted (Local|Global)Thread.
[nre] Added include because of include-file-changes in NRE.
Fixed broken MSI-X offset calculation.
How did this work before? Thanks @parthy. Fixes #37.