Fixed issue with defining stubs mechanism incorrectly

Updated to find shared object build flags

Updated ignores

Updated to cleanup after Win32 builds correctly