bsnes and static libraries