Fix mingw32 build on x86 platform
winldap requires NULL for all attributes search
Cleanup Constants which might not be used