[boost] [threads] Problem static linking with boost.thread during cross-compilation