fix to custom build dependency