move resources to run_time phase & add build-essential