now build scripts and Makefile are compatible with nightly