try to build all known targets and run the tests

tested on Cygwin and Linux