Updated build environment. Also added a common macro xpcf_print to print out messages.