Add BUILDONLY since this is only used for the headers. Rearranged variables for consistency between packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>