bugfix: fix don't build unbuildable targets