Updated build script for Phing

Signed-off-by: dradancer <kuba.zarybnicky@post.cz>