Fix bin directory problem