Installing a Windows partition on Mac HD - dual boot in short
If you have a bootable copy of the recent OS you can boot from that and instead of using the installer go to the menu and select Disk Utility. That will let you delete partitions at will.

Alternatively you can boot into Recovery Mode (Command-R during boot, if I recall correctly) and that will also have Disk Utility available to you.