added linker flags to compile server on unix/sun