adapted copyright header and added functions to change hard coded path
with autotools (#54)