fix requiring static compilation of extansions