static libraries now build on gcc