Updated Makefile to detect 32 or 64 bit OS and installing in suitable lib dir.