Fixed issues with compiling SquirrelChat using gcc

Some functions declared in some of the P99 headers that were causing
issues with compilation under gcc have just been removed, since they're
not used anywhere in SquirrelChat anyway. In addition, since the
location of uchar.h seems to vary from system to system the build files
have been modified to detect it's location.