Added PKGCONFIG_OVERRIDE as suggested by url2pkg - for testing
Problem with check was resolved by using buildlink3.mk for check