Install header file and move lib to ${LOCALBASE}/lib. Port improvements for less diff churn on future port updates.