Added get_gems and clean_gems to pcsd makefile
Fixed build for debian