build: add pthread-fixes.c to Makefile.am on Android