improve build scripts, set eclipse build type to Debug