fix build script; remove obsolete gitignores
remove not needed libs; explicit void