remove gtk and other unnecessary libs from snis_server linking process