diff --git a/Makefile b/Makefile
index b57b12c..bc9af7d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,12 @@
 
 packages:
 	@echo "Installing packages..."
-	sudo apt-get install g++
+	sudo apt-get install g++ libmagic-dev libssl-dev
 	@echo "Finished downloading!"
 
 compile:
 	@echo "Compiling..."
+	@mkdir bin
 	g++ src/necronda-server.cpp -o bin/necronda-server -std=c++17 -fPIC -pthread -lz -lmagic -lssl -ldl -lcrypto
 	@echo "Finished compiling!"