Fixes to bin folder creation