pthsem: add Makefile for new package

this package should replace the one in old packages

Signed-off-by: Othmar Truniger <github@truniger.ch>