Fix linkage problem with detail::getenv()

detail::getenv() function was not declared inline, which led to
`multiple definition` errors at link time when a program consisted of
multiple objects that included Boost.Compute headers.

Fixed the problem and added core.multiple_objects test.
Merge pull request #47 from ddemidov/multiple-objects

Fix linkage problem with detail::getenv()