Fixed libsfm reference
Fixes for Linux compilation