scons: more linux static linking fixes