Use some dummy arguments and function overloading instead of enable_if.

Seems to build faster on msvc9