Fix a bug introduced in 25cc9793c28ca44d84f25bb1a93134ad1ded62c2
move the linker flags to profiler.go
helper for the oracle
Fix the test as a result of 25cc979
Fix sed getting confused by / in TMPDIR path

Fix #946. Close #948
Merge branch 'master' of git://github.com/influxdb/influxdb