Removed POSIX linkings for Windows compatability