Go to correct dir before building