add more configurations for automatic test builds.
build.py: fix base path for resource embedding, now longer breaks when the script is called from a different folder.