revamped build script (now it's based on psake)