Hardcoding extensions is not portable accros OSes?