Fix for building rpm