recompile with static libraries