compile external deps into lib dist + fixed tests + renamed compile:all to compile:dist