Fix unintialized and undefined vars being treated as errors with -O3

Signed-off-by: sudosurootdev <sudosurootdev@gmail.com>
Update Makefile

Signed-off-by: sudosurootdev <sudosurootdev@gmail.com>