Add build files to .gitignore.
Fix mac_clock_gettime on linux.
Add read16u support.