Updated build script

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