fix compile error on osx box
Rename osx.h to portability.h.

Modified copyrights to accept contributions.