tightened up linux build, compiler warning for static linking sem_open.c for mktemp but this is an accepted instance use by the community that they can't do anything about