fixing load_self for bitrig