- gnu compile fixes
Merge branch 'subcache' into thread

Conflicts:
	src/putki/builder/db.cpp
Merge branch 'thread' of https://github.com/raxptor/putki into thread