make static_compile build work on linux