papi-test: moved install location to external variable, and deferred static building to manually supplying -static to LDFLAGS