(BUGFIX) Fix the 'Tools->Build Settings' dialog

The dialog wouldn't resize right when dragging the borders with
the mouse, and the 'Create' and 'Edit' buttons would produce and
error message.