Removed dependency on Boost.Detail. Fixed compilation issues with MSVC
7.1
Reworked platform selection, fixed Windows backend.

Platform selection now works in two stages. First compiler is tested for
the supported configuration. If that fails, OS is tested. Lastly, if
nothing succeeded, emulation backend is selected.