Update Makefile

Updates to include -fPIC when building on x64 on Linux. Also now supports the $(R) macro essential for RPM builds.