SFM: Include missing headers
SFM: Fix threading macros on Windows
SFMRECON: insert NULL checks to fix crash
Merge pull request #113 from andre-schulz/sfm-win32-fixes

SFM win32 fixes
Merge pull request #114 from Waldteufel/fix-sfmrecon

SFMRECON: insert NULL checks to fix crash
SFM: put PBA in sfm::pba namespace
Merge pull request #109 from Waldteufel/sfm-cleanup

SFM: put PBA in sfm::pba namespace