I have fixed the above problem. The above problem will occur when you install OS X on a different partition which is on the same HardDisk Drive (HDD) as another operating system. In my case windows. All you have to do to fix it is use 'Disk Utility' in the OS X installer. Create 2 Partitions. Partition 1: Mac OS X (Extended Journalled) "Macintosh HD", Partition 2: MSDOS (FAT) "WINDOWS". Information inside the "" is names of partitions, you can change that to your preference. Once done just continue through installer and install windows after you have fully install Mac OS X and booted for first time Configuration.
I hope this short guide helps you.