Attempts to build with either perfc or perfc_arrays fails. Some of this is specific to the platform (eg, __x86_64__). Add simple-minded fixes to allow building with these options. This patch resolves these issues and now builds on i386 and x86_64 Signed-off-by: Ben Thomas (ben@virtualiron.com)