@mastergreg needed to pass -R to linker instead of L since it's runtime linking. You should double check that, i suck at Makefiles