Tools/Extractors: Build fixes for linux